package org.eduapp.trains.dao.log;

import org.eduapp.trains.DAOException;
import org.eduapp.trains.dao.BaseDAO;
import org.eduapp.trains.model.logs.ModelLogs;
import org.eduapp.trains.web.support.PaginationSupport;

/**
 * 
 * @author jeccy
 *
 */
public interface LogDAO extends BaseDAO<ModelLogs> {
	
	/**
	 * get logs by pager
	 * @param model
	 * @param pageSize
	 * @param offset
	 * @param order
	 * @param isDesc
	 * @return
	 * @throws DAOException
	 */
	PaginationSupport<ModelLogs> get (ModelLogs model,
			int pageSize, int offset, String order, Boolean isDesc) throws DAOException;
	
}
